package com.robotserver.orders.mapper;

import com.robotserver.orders.entity.TbOrdersRefund;
import com.robotserver.orders.param.biz.TbOrderPullParam;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * TbOrdersMapper继承基类
 */
@Repository
public interface TbOrdersRefundMapper {
    TbOrdersRefund selectById(Long id);
    int insert(TbOrdersRefund record);
    void update(TbOrdersRefund tbOrdersRefund);
    TbOrdersRefund selectByTradeId(@Param("tbTradeParentId") String tbTradeParentId, @Param("tbTradeId") String tbTradeId);
    List<TbOrdersRefund> getOrderList(TbOrderPullParam param);
    void deleteOrdersExpired(@Param("expiredTime") Integer expiredTime);
}